package edu.neusoft.yiqibike.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import edu.neusoft.yiqibike.common.entity.mysql.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author lyc
 * @since 2017-10-07
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectByPage(Page<User> page, @Param("ew") Wrapper<User> wrapper);

    void invertIsEnable(@Param("uid") Long uid, @Param("isEnable") Integer isEnable);
}